package cetb.domain;

import java.util.Collection;

/**
 * @author   alumno
 */
public class Client extends User{

	/**
	 * @uml.property  name="surname"
	 */
	private String surname;
	
	/**
	 * @uml.property  name="dni"
	 */
	private String dni;
	
	/**
	 * @uml.property  name="receiveOffers"
	 */
	private boolean receiveOffers;
	
	private Collection<Offer> vipOffers;
	
	/**
	 * @param surname
	 * @uml.property  name="surname"
	 */
	public void setSurname(String surname) {
		this.surname=surname;
	}

	/**
	 * @param dni
	 * @uml.property  name="dni"
	 */
	public void setDni(String dni) {
		this.dni=dni;
	}
	
	/**
	 * @param receiveOffers
	 * @uml.property  name="receiveOffers"
	 */
	public void setReceiveOffers(boolean ro) {
		this.receiveOffers=ro;
	}

	/**
	 * @param vipOffers
	 * @uml.property  name="vipOffers"
	 */
	public void setVipOffers(Collection<Offer> vipOffers) {
		this.vipOffers=vipOffers;
	}
	
	/**
	 * @return
	 * @uml.property  name="surname"
	 */
	
	public String getSurname(){
		return surname;
	}
	
	/**
	 * @return
	 * @uml.property  name="dni"
	 */
	public String getDni(){
		return dni;
	}

	/**
	 * @return
	 * @uml.property  name="receiveOffers"
	 */
	public boolean getReceiveOffers(){
		return receiveOffers;
	}
	
	/**
	 * @return
	 * @uml.property  name="vipOffers"
	 */
	public Collection<Offer> getVipOffers(){
		return vipOffers;
	}
	
}
